
<div class="PaperShelf-form">
  <fieldset>
    <legend>Please Log In</legend>

    <% form_tag do %>
      <p>
        <label for="account">Name:</label>
        <%= text_field_tag :account, params[:account],:size => 40 %>
      </p>
      <p>
        <label for="password">Password:</label> 
        <%= password_field_tag :password, params[:password] ,:size => 42 %>
      </p>
      <p>
        <label >Identity:</label>
        
        <%= radio_button_tag :identity, :student%>
        <lable for="UserType">Student</lable>
        
        <%= radio_button_tag :identity, :teacher%>
        <lable for="UserType">Teacher</lable>

        <%= radio_button_tag :identity, :administrator%>
        <lable for="UserType">Adminstrate</lable>
      </p>
      <p><label ></label>
        <%= submit_tag "Login" -%> <%= link_to "Regist now", :controller =>"register", :action=>"register" %>
      </p>
    <% end %>
  </fieldset>
</div>